db.dropDatabase();
db.createCollection("users");
db.createCollection("comment");
db.createCollection("diary");
db.createCollection("tips");
db.createCollection("notebooks");
db.createCollection("todos");
db.notebooks.insert({name:"默认日记",owner:-1});
db.users.insert({
    accounts:"admintest@tuer.me",
    created_at:new Date(),
    pwd:hex_md5("1234qwer"),
    nick:"admin",
    avatar:"",
    profile:'nothing yet',
    firends:[],
    notebook:0,
    todocount:0,
    pageurl:''
});
